<?php
use_helper('Javascript','Object');
echo javascript_include_tag('ajax');
  if ($sf_params->get('ajax')=='1')
//if ($this->getRequestParameter('ajax')=='1')
{?>
          <td>Hora:</td>
          <td colspan="6">
		  <?
		  	echo select_tag('bloque',objects_for_select($horas, 'getId', 'getHoras'));
          ?>
          </td>
<?
}?>